package com.zero.yygh.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zero
 * @desc 用户微服务启动类
 * @create 2021/4/2
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.zero")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.zero")
public class ServiceUserApplication {
    public static void main(String[] args){
        SpringApplication.run(ServiceUserApplication.class, args);
    }
}
